package com.wjq.mapper;


import com.wjq.entity.EssayQuestion;
import com.wjq.entity.Question;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
public interface EssayQuestionMapper {

    List<Question> queryEssayList();

    List<EssayQuestion> queryList(Integer questionnaire_id);

    EssayQuestion selectEssayQuestionById(Integer id);

    void updateEssayQuestionById(EssayQuestion question);

    void deleteEssayQuestionById(Integer id);

    void addEssayQuestion(EssayQuestion question);
}
